package com.yrj.shopping;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {

        ShoppingCart cart1 = new ShoppingCart();
        int x=cart1.getCapacity();
        Goods[] goods1 = new Goods[x];
        for(int i=0;i<x;i++){
            goods1[i] = new Goods();
        }
        cart1.setShoppingCart(goods1);
        cart1.addgoods();
    }

}
